class RaijinWPoisonProjectile extends AcidProj;

function Timer()
{
	if (StuckTo != None)
	{
		if (StuckTo.Health <= 0)
			Destroy();
			
		if (ROLE == ROLE_Authority)
		{
			if (!StuckTo.IsA('EXZombieBoss') && !StuckTo.IsA('ZombieBoss') && !StuckTo.IsA('shZombieBoss_XMAS'))
			{
				StuckTo.bStunned=(LifeSpan >= 4.0);
			}

			if (StuckTo.OriginalGroundSpeed > SlowedGroundSpeed)
			{
				if (!StuckTo.IsA('EXZombieBoss') && !StuckTo.IsA('ZombieBoss') && !StuckTo.IsA('shZombieBoss_XMAS'))
				{
					StuckTo.OriginalGroundSpeed=SlowedGroundSpeed;
				}
				else
				{
					StuckTo.OriginalGroundSpeed=DefaultGroundSpeed * FMin(ReduceSpeedTo * 2.0,1.0);
				}
			}
			if (LifeSpan <= 2.0)
				StuckTo.OriginalGroundSpeed=DefaultGroundSpeed;
		}
	}
}

defaultproperties
{
     ReduceSpeedTo=0.300000
     bSlowPoison=True
     Damage=500.000000
     LifeSpan=12.000000
}
